
file(GLOB http_src ./main.cpp)
file(GLOB client_src ./client.cpp)
file(GLOB server_src ./server.cpp)

add_executable(httpserver ${http_src})
add_executable(client ${client_src})
add_executable(server ${server_src})

target_link_libraries(httpserver PUBLIC comm)
target_link_libraries(httpserver PUBLIC http)
target_link_libraries(httpserver PUBLIC tcp)

target_link_libraries(client PUBLIC comm)
target_link_libraries(client PUBLIC http)
target_link_libraries(client PUBLIC tcp)

target_link_libraries(server PUBLIC comm)
target_link_libraries(server PUBLIC http)
target_link_libraries(server PUBLIC tcp)
